package com.tplhk.thread.completeableFuture.service;

/**
 * @ClassName : MedalService
 * @Description : TODO
 * @Author : jqxu
 * @Date: 2022/4/27 9:17
 **/
public class MedalService {

    public MedalInfo getMedalInfo(String userId) {
        try {
            Thread.sleep(500); //模拟调用耗时
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return new MedalInfo("666", "守护勋章");
    }
}
